//定义类
package com.example.foods.domain;
//@Data注解会自动为OrderItemsInfo类的所有字段生成getter和setter方法
import lombok.Data;

import java.io.Serializable;

/**
 * 购物项
 */
@Data
public class OrderItemsInfo implements Serializable {

    private Integer orderId;

    private Integer foodId;

    private String foodName;

    private Integer quantity;

    private Float price;
}
